import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
import PluginState from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import '@/permission'
const app = createApp(App)
const piniaApp = createPinia()
piniaApp.use(PluginState)
app.use(piniaApp)
app.use(router)

app.mount('#app')
